package main

import "fmt"

func main() {
	done := make(chan struct{})
	close(done)
	select {
	case <-done:
		fmt.Println(1111)
	default:
		fmt.Println(2222)
	}

}
